package com.example.assetmanagement.service;

import com.example.assetmanagement.common.PageRequest;
import com.example.assetmanagement.common.PageResponse;
import com.example.assetmanagement.domain.Role;

import java.util.List;

public interface RoleService {

    PageResponse<Role> list(PageRequest pageRequest, String name, Integer status);

    List<Role> getAll();

    Role getById(Long id);

    void add(Role role);

    void update(Long id, Role role);

    void delete(Long id);

    void batchDelete(List<Long> ids);

    void updateStatus(Long id, Integer status);
} 